<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登陆</title>
<link href="themes/default/login.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function checkUserInput(form){
   var uName=form.userName.value;
   if(uName==""){
      alert("请输入登陆用户!");
      return false;
   }
   return true;
}
</script>
</head>
<body class="loginbg">

<FORM name="loginUserFor" method="post" action="login.do"
	onsubmit="return checkUserInput(this);">
<TABLE height="100%" width="100%">
  <TBODY>
  <TR>
    <TD vAlign=center align=middle height="100%">
      <TABLE width=693 height=337 border=0 align="center" cellPadding=0 cellSpacing=0>
        <TBODY>
        <TR>
          <TD><FONT color=red></FONT></TD></TR>
        <TR>
          <TD width=693 background=images/loginbg.jpg height=337><BR>
            <BR>
              <BR>
              <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD align=right width="19%" height=183>&nbsp;</TD>
                <TD align=middle width="18%">&nbsp;</TD>
                <TD width="63%">&nbsp;</TD>
              </TR></TBODY></TABLE>
              <TABLE class=font1 cellSpacing=0 cellPadding=0 width=693 border=0>
                <TBODY>
                  <TR>
                    <TD align=right width="7%">&nbsp;</TD>
                    <TD align=right width="10%">&nbsp;&nbsp;用户名：</TD>
                    <TD width="17%" height=49><INPUT 
                  style="WIDTH: 100px; HEIGHT: 25px" size=10 name=userName></TD>
                    <TD width="8%">密码：</TD>
                    <TD width="16%"><INPUT 
                  style="WIDTH: 100px; HEIGHT: 25px" type=password size=10 
                  name=password></TD>
                    <TD width="9%"><input class="log_botton"
								onmouseover="this.className='log_botton2';"
								onmouseout="this.className='log_botton';" value="登 录"
								type="submit" /></TD>
					<td width="36%">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #ff0000" id="msg">
						<s:property value="#request.message" />&nbsp;</span></td>
                  </TR>
                  <TR>
                    <TD colspan="2" align=right>&nbsp;</TD>
                    <TD height=45 colspan="5">&nbsp;</TD>
                  </TR>
                </TBODY>
              </TABLE></TD>
        </TR></TBODY></TABLE></TD>
  </TR></TBODY></TABLE>
</FORM>
</body>
</html>
